.html,
.body {
    width: 100%;
    height: 100%;
}

a {
    text-decoration: none;
}


/* 这是头部 */

.header {
    width: 100%;
    height: 140px;
}

.thead {
    width: 100%;
    height: 40px;
    background-color: #333;
}

.bhead {
    width: 100%;
    height: 100px;
    background-color: #fff;
}

.hs {
    width: 1226px;
    height: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* 这是h1 */

.h1 nav:first-of-type {
    width: 850px;
    height: 100%;
    display: flex;
    justify-content: space-between;
}

.h1 nav:last-of-type {
    width: 300px;
    height: 100%;
    display: flex;
    justify-content: space-between;
}

.h1 ul {
    height: 100%;
    list-style: none;
    display: flex;
    font-size: 12px;
    color: #b0b0b0;
    margin-right: 20px;
    align-items: center;
}

.h1 ul a {
    color: #b0b0b0;
}

.h1 ul li a:hover {
    color: #fff;
}

.h1 ul span {
    margin: 0 5px;
    color: rgba(127, 116, 116, 0.3);
}

.buycar {
    width: 130px;
    height: 100%;
    padding: 0 20px;
    display: flex;
    align-items: center;
    position: relative;
}

.card {
    width: 300px;
    height: 100px;
    color: #333;
    text-align: center;
    line-height: 100px;
    box-shadow: 0 0 10px 5px #cbcbcb;
    background-color: #fff;
    position: absolute;
    top: 40px;
    right: 0;
    display: none;
}

.buycar:hover {
    background-color: #fff;
}

.buycar:hover .card {
    display: block;
}

.h1 img {
    width: 20px;
    height: 20px;
    padding-right: 5px;
}

/* 这是h2 */
.h2>img {
    width: 60px;
    height: 60px;
    margin-right: 174px;
}

.h2 nav {
    height: 100%;
    list-style: none;
    display: flex;
    font-size: 16px;
    color: #000;
}

.h2 ul {
    width: 600px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.h2 ul a:hover {
    color: orangered;
}

.h2 div {
    width: 300px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: end;
}

.h2 input {
    width: 200px;
    height: 50%;
    border: #b0b0b0 solid 1px;
    border-right: 0px;
    padding: 10px;
}

.h2 div img {
    width: 50px;
    height: 50px;
    padding: 15px;
    border: solid 1px #b0b0b0;
    margin-top: 4px;
}


/*这是主体  */

.bg {
    width: 100%;
    height: 460px;
    background-color: #fff;
    font-size: 14px;
}

main {
    width: 1226px;
    height: 460px;
    display: flex;
    margin: 0 auto;
    position: relative;
}

.menu {
    width: 234px;
    height: 460px;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.5);
    position: absolute;
    top: 0;
    left: 0;
    padding: 10px;
    display: flex;
    justify-content: space-between;
}

.menu ul {
    list-style: none;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
}

.menu ul a {
    color: #fff;
}

main>img {
    width: 100%;
    height: 100%;
}


/*这是主体p  */

.pbg {
    width: 100%;
    height: 210px;
    padding-top: 14px;
    padding: 26px;
    background-color: #fff;
}

.pbg section {
    width: 1226px;
    height: 100%;
    display: flex;
    justify-content: space-between;
    margin: 0 auto;
}

.pbg section .item {
    width: 234px;
    height: 100%;
    background-color: #665e57;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-content: space-between;
}

.pbg .item div {
    width: 78px;
    height: 78px;
    padding: 5px;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
}

.pbg .item img {
    width: 30px;
    height: 30px;
}

.pbg .item2 {
    flex: 1;
    display: flex;
    justify-content: space-between;
}

.pbg .item2 img {
    flex: 1;
    height: 100%;
    padding-left: 14px;
}